package com.springboot.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity
public class BtEnterprise {
    @Id
    private String id;
    private String name;
    private String legalPerson;
    private String license;
    private String contact;
    private String tel;
    private String email;
    private String province;
    private String address;
    private String industry;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date establishTime;
    private Date createTime;
    private String status;             //审核是否通过
    @Column(length = 400)
    private String enterpriseProfile;     //企业简介
    private String employeeNum;
    private Integer views = 0;

}